package org.computate.model.dao;

import java.util.List;

import org.computate.model.item.Upload;

import com.googlecode.objectify.Objectify;
import com.googlecode.objectify.Query;

public interface UploadDao extends ComputateDao<Upload> {
	public Upload create();
	public Upload put(Upload item);
	public Upload save(Object itemObject);
	public Upload create(String name);
	public Upload create(String name, String parentField, Long parentId, int getLevels);
	public Upload get(Long id, int getLevels);
	public Upload get(String name, int getLevels);
	public Upload delete(Long id);
	public Upload delete(Upload item);
	public List<Upload> list(int listLevels);
	public List<Upload> list(Query<Upload> query, int listLevels);
	public Objectify ofy();
}
